package com.tanhua.dubbo.api;

import com.tan.model.mongo.Movement;
import com.tan.model.vo.PageResult;

import java.util.List;

public interface MoventApi {

    void postMovement(Movement movement);

    PageResult findUserid(Integer page, Integer pagesize, Long userId);

    List<Movement> findFriendMovements(Integer page, Integer pagesize, Long userid);

    List<Movement> findFriendMovementsbyids(List<Long> ids);

    List<Movement> setRedisRecommendMovements(Integer pagesize);

    Movement getMovement(String id);


    List<Movement> findByUserId(Long uid, Integer state, Integer page, Integer pagesize);
}
